!(function (e, t) {
  var n = t.documentElement;
  var d = e.devicePixelRatio || 1;

  function i () {
    var e = n.clientWidth / 3.75;
    n.style.fontSize = e + 'px';
  }
  if (
    ((function e () {
      t.body
        ? (t.body.style.fontSize = '16px')
        : t.addEventListener('DOMContentLoaded', e);
    })(), i(), e.addEventListener('resize', i), e.addEventListener('pageshow', function (e) {
      e.persisted && i();
    }), d >= 2)
  ) {
    var o = t.createElement('body');
    var a = t.createElement('div'); (a.style.border = '.5px solid transparent'), o.appendChild(a), n.appendChild(o), a.offsetHeight === 1 && n.classList.add('hairlines'), n.removeChild(o);
  }
})(window, document);
